package com.yumeko.dubbo;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.amqp.rabbit.annotation.EnableRabbit;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cache.annotation.EnableCaching;

@SpringBootApplication
/*@EnableDubbo //开启dubbo配置*/
@EnableCaching // 开启缓存支持
@EnableRabbit //开启rabbitmq
/*@MapperScan ("com.shenpu.cloud.mapper")*/
public class ServiceApplication {
    public static void main(String[] args) {
        new SpringApplicationBuilder(ServiceApplication.class)
                .web( WebApplicationType.NONE)
                .run(args);
    }
}
